<html>
    <link rel="stylesheet" type="text/css" href="sys.css">
    <center>
        <h1>文本编辑器</h1>
        <hr>
        <form action="edit-doen.php" method="POST">
            <?php
            echo'文件名:<input type="text" name="filename" value="'.$_GET["filename"];
            ?>">
            <br>
            <textarea name='text' rows="35" cols="85%" id="T1">
<?php
$file=fopen("yun/".$_COOKIE["username"]."/".$_GET["filename"],"r");
while(!feof($file)) {
    echo fgets($file);
}
fclose($file);
?>
</textarea>
            <br>
            <input type="submit" value="保存" id="an1">
        </form>
    </center>
    <title>文本编辑器</title>
</html>